<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0,minimum-scale=1,maximum-scale=1,user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" type="text/css" href="css/index.css">
    <link rel="stylesheet" type="text/css" href="css/reset.css">
    <link rel="stylesheet" href="libs/Swiper/swiper-bundle.min.css">
    <script src="./libs/requirejs/require.min.js" data-main="js/index"></script>
    <title>Document</title>
</head>

<body>
    <header>
    </header>
    <div class="banner swiper-container">
        <ul class="banner-container swiper-wrapper">          
            <!-- <li data-theme="white"><a href=""><img src="img/banner2.png" alt=""></a></li>
            <li data-theme="blue"><a href=""><img src="img/banner3.png" alt=""></a></li>
            <li data-theme="white"><a href=""><img src="img/banner4.png" alt=""></a></li>
            <li data-theme="white"><a href=""><img src="img/banner5.png" alt=""></a></li>
            <li data-theme="white"><a href=""><img src="img/banner6.png" alt=""></a></li> -->
        </ul>
        <ul class="banner-pagination swiper-pagination">
            <!-- <li class="active"></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li> -->
        </ul>
    </div>
    <script type="text/html" id="slide-template">
        {{each slides slide}}
        <li data-theme="blue" class="swiper-slide"><a href=""><img src="{{slide.url}}" alt=""></a></li>
        {{/each}}
    </script>
    <main>
        <div class="section-top">
            <div class="section-top-container">
                <ul class="clear_fix">
                    <li>
                        <a href="">
                            <img src="img/87b08d0b-2cc6-47a0-8302-eea7b224eb7c.jpg" alt="">
                            <em>魅族秋季新品发布会</em>
                            <p>9月22日 15:30</p>
                        </a>
                    </li>
                    <li>
                        <a href="">
                            <img src="img/5f896683-d2f2-487d-a296-722fc9e17f1e.png" alt="">
                            <em>魅族 18</em>
                            <p>立省900 + 12 期免息 + 赠手机壳</p>
                        </a>
                    </li>
                    <li>
                        <a href="">
                            <img src="img/ee9237bc-ed38-4fe8-9fb7-d47a74b42c2a.jpg" alt="">
                            <em>POP2s 真无线耳机</em>
                            <p>限时特惠199元</p>
                        </a>
                    </li>
                    <li>
                        <a href="">
                            <img src="img/13de22b5-2301-480f-99f9-778e4ff8644c.jpg" alt="">
                            <em>mCycle</em>
                            <p>以旧换新</p>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
        <div class="section-box phone-section">
            <div class="section-title">
                <h3>手机</h3>
            </div>
            <div class="section-banner">
                <a href="">
                    <img src="img/phone-banner.jpg" alt="">
                </a>
            </div>
            <div class="section-container">
                <ul class="clear_fix"></ul>
                <script type="text/html" id="phone-items">
                    {{each phones phone}}
                    <li class="phone {{phone.big}} {{phone.isLast}}">
                        <a href="./html/detail.html?id={{phone.id}}">
                        <img src="{{phone.imgUrl}}" alt="">
                            <span class="info">
                                <p class="info-title">{{phone.gods_name}}</p>
                                <p class="info-des">{{phone.gods_desc}}</p>
                                <p class="info-price">
                                    <i>￥</i>
                                    <span>{{phone.price}}</span>
                                </p>
                            </span>
                            <span class="gods-sign">免息</span>
                        </a>
                    </li>
                    {{/each}}
                </script>
            </div>
        </div>
        <div class="section-box parts-section">
            <div class="section-title">
                <h3>智能配件</h3>
            </div>
            <div class="section-banner">
                <a href="">
                    <img src="img/phone-banner2.jpg" alt="">
                </a>
            </div>
            <div class="section-container">
                <ul class="clear_fix"></ul>
                <script type="text/html" id="product-items">
                    {{each products prod}}
                        {{if prod.isFirst}}
                        <li class="phone">
                            <a href="./html/detail.html?id={{prod.id}}">
                            <img src="{{prod.imgUrl}}" alt="" class="gods-big-img">
                                <span class="info  first-info">
                                    <p class="info-title">{{prod.gods_name}}</p>
                                    <p class="info-des">{{prod.gods_desc}}</p>
                                    <p class="info-price">
                                        <i>￥</i>
                                        <span>{{prod.price}}</span>
                                    </p>
                                </span>
                            </a>
                        </li>
                        {{else if prod.isLast}}
                        <li class="phone last">
                            <a href="./html/detail.html?id={{prod.id}}">
                            <img src="{{prod.imgUrl}}" alt="">
                                <span class="info">
                                    <p class="info-title">{{prod.gods_name}}</p>
                                    <p class="info-des">{{prod.gods_desc}}</p>
                                    <p class="info-price">
                                        <i>￥</i>
                                        <span>{{prod.price}}</span>
                                    </p>
                                </span>
                            </a>
                        </li>
                        {{else}}
                        <li class="phone">
                            <a href="./html/detail.html?id={{prod.id}}">
                            <img src="{{prod.imgUrl}}" alt="">
                                <span class="info">
                                    <p class="info-title">{{prod.gods_name}}</p>
                                    <p class="info-des">{{prod.gods_desc}}</p>
                                    <p class="info-price">
                                        <i>￥</i>
                                        <span>{{prod.price}}</span>
                                    </p>
                                </span>
                            </a>
                        </li>
                        {{/if}}
                    {{/each}}
                </script>
            </div>
        </div>
    </main>
    <footer>
        
    </footer>
    <!-- <script src="./js/tools.js"></script>
    <script src="./js/index-top.js"></script> -->
</body>

</html>